package com.tyk.bookstore.back.comment.model.vo;


import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 评论
 */
@Data
public class CommentPageVo extends PageVo<CommentPageVo.Comment> {
    @Data
    public static class Comment {

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "会员ID")
        private Long memberId;

        @Schema(description = "订单号")
        private Long orderId;

        @Schema(description = "订单号")
        private String orderNo;

        @Schema(description = "订单明细ID")
        private Long orderDetailId;

        @Schema(description = "书籍ID")
        private Long bookId;

        @Schema(description = "书籍名称")
        private String bookName;

        @Schema(description = "书籍编号")
        private String bookNo;

        @Schema(description = "书籍ISBN")
        private String  bookIsbn;

        @Schema(description = "会员名称")
        private String memberName;

        @Schema(description = "评论内容")
        private String content;

        @Schema(description = "评价等级")
        private Long star;

        @Schema(description = "评论时间")
        private LocalDateTime createTime;

    }


}
